
package org.jeecg.modules.demo.notify;

import lombok.Data;

@Data
public class WeChatNotifyBuilder  extends NotifyBuilder {
    WeChatNotify notify;

    public WeChatNotifyBuilder init(String webhook,String msgType){
        notify = new WeChatNotify();
        notify.setWebhook(webhook);
        notify.setMsgType(msgType);
        return this;
    }
    public WeChatNotifyBuilder content(String content){
        notify.setContent(content);
        return this;
    }
    public void notifyMsg(){
        notify.notifyMsg();
    }
}
